<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>test_vuex222</title>
</head>

<body>
    <div id="app"></div>
    <!-- built files will be auto injected -->

</body>
<!-- <script>
    switch (location.hash) {
        case '/#cat':
            document.body.innerHTML = 'SPA'
            break;
    }
    switch (location.pathname) {
        case '/user':
            document.body.innerHTML = '用户页面'
            break;
        case '/login':
            document.body.innerHTML = '登录页面'
            break;
        case '/index':
            document.body.innerHTML = '首页页面'
            break;
            // default:
            //     document.body.innerHTML = 'history模式'
            //     break;
    }
</script> -->

</html>